﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.MaHaiBo.Entity.Traceability
{
   public class SlaughterFirmDTO
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        [Key]
        public int Firmid { get; set; }
        /// <summary>
        /// 所在省份
        /// </summary>
        public int provinceId { get; set; }
        /// <summary>
        /// 所在市
        /// </summary>
        public int cityId { get; set; }
        /// <summary>
        /// 所在县
        /// </summary>
        public int countyId { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? address { get; set; }
        /// <summary>
        /// 成立日期
        /// </summary>
        public DateTime EstablishTime { get; set; }

        /// <summary>
        /// 公司简介
        /// </summary>
        public string? FirmSynopsis { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? LOT { get; set; }
        /// <summary>
        /// 屠宰公司名称
        /// </summary>
        public string? SlaughterFirmName { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string? FirmName { get; set; }
        /// <summary>
        /// 生产许可
        /// </summary>
        public string? ProductionPermit { get; set; }


        /// <summary>
        /// 养殖场
        /// </summary>
        public string? farmFirm { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? principal { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int NumberOfFields { get; set; }


        /// <summary>
        /// 城市名称
        /// </summary>
        public List<City>?cityName { get; set; }
        /// <summary>
        /// 县名称
        /// </summary>
        public List<County>? countyName { get; set; }
        /// <summary>
        /// 省份名称
        /// </summary>
        public List<Province>? provinceName { get; set; }
    }
}
